package com.one.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 操作表
 * </p>
 *
 * @author zwj
 * @since 2021-09-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_operate")
@ApiModel(value="SysOperateEntity对象", description="操作表")
public class SysOperateEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "菜单或按钮名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "菜单Id")
    @TableField("menuId")
    private Integer menuId;

    @ApiModelProperty(value = "菜单列表")
    @TableField("menuIds")
    private String menuIds;
    @ApiModelProperty(value = "程序路径")
    @TableField("appUrl")
    private String appUrl;

    @ApiModelProperty(value = "图标路径")
    @TableField("imgUrl")
    private String imgUrl;

    @ApiModelProperty(value = "排序码")
    @TableField("sortCode")
    private Integer sortCode;

    @ApiModelProperty(value = "是否删除(0:否 1:是)")
    @TableField("isDeleted")
    private String isDeleted;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private String createTime;

    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private String updateTime;


}
